.class Lrexsee/dialog/RexseeDialog$1;
.super Ljava/lang/Object;
.source "RexseeDialog.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/dialog/RexseeDialog;->alert(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/dialog/RexseeDialog;

.field private final synthetic val$button:Ljava/lang/String;

.field private final synthetic val$callback:Ljava/lang/String;

.field private final synthetic val$message:Ljava/lang/String;

.field private final synthetic val$title:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/dialog/RexseeDialog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/dialog/RexseeDialog$1;->this$0:Lrexsee/dialog/RexseeDialog;

    iput-object p2, p0, Lrexsee/dialog/RexseeDialog$1;->val$title:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/dialog/RexseeDialog$1;->val$message:Ljava/lang/String;

    iput-object p4, p0, Lrexsee/dialog/RexseeDialog$1;->val$button:Ljava/lang/String;

    iput-object p5, p0, Lrexsee/dialog/RexseeDialog$1;->val$callback:Ljava/lang/String;

    .line 66
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lrexsee/dialog/RexseeDialog$1;)Lrexsee/dialog/RexseeDialog;
    .locals 1

    .prologue
    .line 66
    iget-object v0, p0, Lrexsee/dialog/RexseeDialog$1;->this$0:Lrexsee/dialog/RexseeDialog;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 70
    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lrexsee/dialog/RexseeDialog$1;->this$0:Lrexsee/dialog/RexseeDialog;

    # getter for: Lrexsee/dialog/RexseeDialog;->mContext:Landroid/content/Context;
    invoke-static {v2}, Lrexsee/dialog/RexseeDialog;->access$0(Lrexsee/dialog/RexseeDialog;)Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 71
    .local v0, "dialog":Landroid/app/AlertDialog;
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setCancelable(Z)V

    .line 72
    new-instance v1, Lrexsee/dialog/RexseeDialog$1$1;

    invoke-direct {v1, p0}, Lrexsee/dialog/RexseeDialog$1$1;-><init>(Lrexsee/dialog/RexseeDialog$1;)V

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 79
    iget-object v1, p0, Lrexsee/dialog/RexseeDialog$1;->this$0:Lrexsee/dialog/RexseeDialog;

    # getter for: Lrexsee/dialog/RexseeDialog;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v1}, Lrexsee/dialog/RexseeDialog;->access$1(Lrexsee/dialog/RexseeDialog;)Lrexsee/core/browser/Browser;

    move-result-object v1

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->icon:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 80
    iget-object v1, p0, Lrexsee/dialog/RexseeDialog$1;->val$title:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    .line 81
    iget-object v1, p0, Lrexsee/dialog/RexseeDialog$1;->val$message:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog;->setMessage(Ljava/lang/CharSequence;)V

    .line 82
    const/4 v1, -0x1

    iget-object v2, p0, Lrexsee/dialog/RexseeDialog$1;->val$button:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    new-instance v3, Lrexsee/dialog/RexseeDialog$1$2;

    iget-object v4, p0, Lrexsee/dialog/RexseeDialog$1;->val$callback:Ljava/lang/String;

    invoke-direct {v3, p0, v4}, Lrexsee/dialog/RexseeDialog$1$2;-><init>(Lrexsee/dialog/RexseeDialog$1;Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 91
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 92
    return-void
.end method
